package com.java.domain;

import java.io.Serializable;

/**
 * @version 2020.3.4
 * @User 悠恋
 * @Data 2022/11/25
 * @Time 15:34
 */
public class ShopCart implements Serializable {
    private int gid;
    private String gname;
    private String gimg;
    private String gcolour;
    private int gprice;
    private int gnum;
    private int gtotal;
    private String uname;
    private Integer kucun;

    public ShopCart() {
    }

    public ShopCart(int gid, String gname, String gimg, String gcolour, int gprice, int gnum, int gtotal, String uname, Integer kucun) {
        this.gid = gid;
        this.gname = gname;
        this.gimg = gimg;
        this.gcolour = gcolour;
        this.gprice = gprice;
        this.gnum = gnum;
        this.gtotal = gtotal;
        this.uname = uname;
        this.kucun = kucun;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGimg() {
        return gimg;
    }

    public void setGimg(String gimg) {
        this.gimg = gimg;
    }

    public String getGcolour() {
        return gcolour;
    }

    public void setGcolour(String gcolour) {
        this.gcolour = gcolour;
    }

    public int getGprice() {
        return gprice;
    }

    public void setGprice(int gprice) {
        this.gprice = gprice;
    }

    public int getGnum() {
        return gnum;
    }

    public void setGnum(int gnum) {
        this.gnum = gnum;
    }

    public int getGtotal() {
        return gtotal;
    }

    public void setGtotal(int gtotal) {
        this.gtotal = gtotal;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public Integer getKucun() {
        return kucun;
    }

    public void setKucun(Integer kucun) {
        this.kucun = kucun;
    }

    @Override
    public String toString() {
        return "ShopCart{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", gimg='" + gimg + '\'' +
                ", gcolour='" + gcolour + '\'' +
                ", gprice=" + gprice +
                ", gnum=" + gnum +
                ", gtotal=" + gtotal +
                ", uname='" + uname + '\'' +
                ", kucun=" + kucun +
                '}';
    }
}
